﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SOEI.Solution.DomainEntities.RegulatoryMange;
using SOEI.Solution.EntityFrameworkCore.EntityMapper;
using System;
using System.Collections.Generic;
using System.Text;

namespace SOEI.Solution.EntityMapper
{
    public class ViewAgreementMapper : AbpBaseMapper, IEntityTypeConfiguration<ViewAgreement>
    {
        public void Configure(EntityTypeBuilder<ViewAgreement> builder)
        {
            builder.SetAttrbuteEntity();

            builder.ToView("NESF_VIEW_AGREEMENT"); // 对应的试图名称
        }
    }
}
